package com.example.hotelmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hotelmanager.entity.CostType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author :chenjie
 * @date :Created 2022/11/27 22:53
 */
@Mapper
public interface CostTypeMapper extends BaseMapper<CostType> {
    @Select(" select * from cost_type where `name` not like \"%租金\" and `name` not like \"%定金\"")
    List<CostType> getAllCostType();


}
